home *** CD-ROM | disk | FTP | other *** search
- • View B3.0. Following on from the hint about View B3.0, John Phelan
- writes th• “More articles about the basics, please”, said a number of
- folk at the Micro User Show. WeÕve had something on using ADFS and are
- starting assembler for beginners but can anyone say specifically what
- they want information on and can anyone offer to write any “basic”
- articles, please? In particularÉ
- 1.09
- • Article on ARMBE. We really do need someone to write a very
- practical guide to using the ARM BASIC Editor. For example, IÕve only
- just realised that <insert> toggles between insert and over-write mode
- and so you donÕt have to go through the preferences menu. I suspect a
- lot of people are not using ARMBE simply because they are familiar with
- BASICÕs own line editor and havenÕt got time to learn ARMBE even though
- it would save them time in the long run. Please write to us if you would
- like to have a go at this. Thanks.
- 1.09
- • BASIC V utility library. If you have worked out some neat utilities
- like the one in Hints & Tips about aligning decimal points, why not send
- them in to us. Clifford Hoggarth has offered to edit the section, so
- either send your contributions to us or direct to him at 20 Pinfold
- Drive, Eccleston Mere, St Helens, WA10 5BT.
- 1.09
- • Education articles. IÕm getting requests for articles relevant to
- education, but no-one is offering such articles. Can anyone help?!
- 1.09
- • Hard Disc users. One reader, who has a 440 on order, wants to know
- if there are any doÕs and donÕtÕs with a hard disc. Are there any hard-
- disc users who want to comment?
- 1.09
- • View B3.0. Following on from the hint about View B3.0, John Phelan
- writes that there is still a problem with the pound key. On the
- Archimedes, this key returns ASCII 163. Is this redefinable?
- 1.09
- • Calculating ¹ and e. Brian Cowan asks if anyone knows the way that
- pi and/or e may be calculated digit by digit on a computer. Presum-ably
- they must be all integer algorithms(?)
- 1.09
- • Taxan KP-810 on ArcWriter. Has anyone worked out how to get a
- printer driver working for this combination? Drop a line to E. Clinks
- cales, 68 Wyvis Drive, Nairn, IV12 4TP.
- 1.09
- • Video-titling. Is there any software, says M Davies of Cardigan, for
- video-titling? Wild Vision do the hardware for Genlock and Video
- Overlay, but where is the software?
- 1.09
- Also, he asks, is there any software, preferably ROM based, to give NLQ
- print on his Epson RX80 and also desktop publishing?
- 1.09
- Help Answers
- 1.09
- • Label printer for cassette tapesÉ Try the June issue of Micro User,
- page 39.
- 1.09
-
- 1.09
- • View B3.0. In order to get View B3.0 working properly under the 6502
- emulator, as well as poking the three bytes at &A8A1 to &EA you have to
- poke &80C2 — 4 to &EA otherwise, the emulator tries to run it as a
- second processor ROM image — without any success. With this patch, the
- address space from &B328 to &BFFF is effectively free for patching.
- Perhaps some enterprising programmer could use this space for extra
- routines — e.g. a resident printer-driver.
- 1.09
- • Special characters. If you want to generate special characters on-
- screen, try pressing <ctrl-shift-alt> and then one of the ordinary keys
- and you will find that you can get all sorts of alternative characters
- such as © and ¨ and the half, quarter and three-quarter signs (which I
- havenÕt even got on the Apple Mac!). What is more, if you are using Arc-
- Writer, it will actually print some of the symbols, such as the
- fractions, on the printer!
- 1.09
- • PSU for external 5.25“ drives. If you have an external 5.25” disc
- drive that does not have its own power supply, you can take the power
- from the power supply for the hard disc but you will need a special
- cable and connector. Those who have bought interfaces from Dudley Micro
- Supplies might be able to get help from them. (Or try the ArcDFS
- interface mentioned in Hardware & Software Available section.)
- 1.09
- • Aligning decimal points. If you are trying to print out various
- figures and want the decimal points to line up above one another, you
- can use the “fixed format”. (See the explanation of the @% variable
- under the section in the User Guide about the PRINT command.) However,
- the fixed format prints out trailing zeros, e.g. it prints 234.0000
- instead of 234.
- 1.09
- The bad news: One reader wanted to avoid this and so was trying to write
- a BASIC routine to do the aligning and discovered some nasties (presum
- ably due to rounding errors) that gave the value of LOG100 as 2 but
- INT(LOG100) as 1! Also he found that LEN(STR$3.3) was given as 3, but
- LEN(STR$4.3) was given as 11!
- 1.09
- The good news: You can do a STR$, use INSTR to find the position of the
- decimal point and then use PRINT TAB( to position it correctly as in the
- following example. (Thanks, APL!)
- 1.09
- 10 REM >$.AlignDP
- 1.09
- 20
- 1.09
- 30 REM ***************************
- 1.09
- 40 REM * Aligning your decimals *
- 1.09
- 50 REM * by Adrian Philip Look *
- 1.09
- 60 REM * 28th April 1988 *
- 1.09
- 70 REM ***************************
- 1.09
- 80
- 1.09
- 90 REPEAT
- 1.09
- 100 random=RND(10000)-RND(1)*(RND
- 1.09
- (1)<.7)
- 1.09
- 110 PROCalign(20,random)
- 1.09
- 120 UNTIL FALSE
- 1.09
- 130 END
- 1.09
- 140
- 1.09
- 150 DEFPROCalign(x,number)
- 1.09
- :REM x = position of DP
- 1.09
- 160 number$=STR$(number)
- 1.09
- 170 dot=INSTR(number$,“.”)
- 1.09
- 180 IF dot=0 dot=LEN(number$)+1
- 1.09
- :REM i.e. no DP
- 1.09
- 190 IF dot=1 dot=0:REM leads with DP
- 1.09
- 200 PRINT TAB(x-dot);number
- 1.09
- :REM beware of (x-dot)<0
- 1.09
- 210 ENDPROC
- 1.09
- STOP PRESS. The original enquirer about this, Peter Trigg, has just come
- back with:
- 1.09
- DEFPROCalign(x%,number)
- 1.09
- :REM x% = position of DP
- 1.09
- LOCAL length%
- 1.09
- length%=LEN(STR$(INT(number)))
- 1.09
- PRINT TAB(x%-length%);number
- 1.09
- ENDPROC
- 1.09
- This is somewhat neater and it seems to work OK. (This just emphasises
- the need for sharing ideas — which is why we are setting up our “BASIC
- utilities” section — see Help!!! section.)
- 1.09
- • Music Editor. If you have a number of tunes that were prepared using
- the Music Editor on the 0.2 or 0.3 Welcome discs. You will probably find
- that all the voices are wrong — usually that the main tune was being
- played on the percussion! The reason is that the Music Editor refers to
- the voices by number only, so if the modules are in a different order,
- the voices are likewise in a different order. It is however possible to
- change the order of the modules by *RMKILLing the one which is higher in
- the *ROMMODULES list then doing a *RMTIDY and then *RMREINITing the
- module which you had just killed.
- 1.09
- • Beware &36D! Some BBC software (Apollo Mission for example) pokes
- !877=0 (or !&36D=0). If you transfer this to the Archimedes you will
- find that the system locks up and neither <ctrl-break> nor <reset> has
- any effect. Even switching off is ineffective. The only way out is an
- <R>-power-up. (Do it twice to restore the correct monitor-type setting.)
- 1.09
- • File copying on a single drive. Are you having difficulty copying
- files from one disk to another using just one disk drive? Is it that
- when using the *COPY command with the Prompt option, the system prompts
- for insertion of the destination disk but never recognises it? If so,
- issue the command *NODIR first. The system will then read the disk
- directory every time it attempts to access a disk rather than storing
- the directory in memory so that disks no longer need *MOUNTing. It is
- possible to make the change permanent by doing *Configure NODIR.
- 1.09
- • Boot files that work from desktop or with <shift-break> — set *OPT
- 4,2 (Run) and create a BASIC program called !BOOT. You can then <shift-
- break> if configured as language 3 or 4 (desktop or BASIC) or double
- click the !boot icon from desktop.
- 1.09
- If necessary the !BOOT file can contain a line such as: 10*EXEC !BOOT1
- 1.09
- !BOOT1 contains tasks such as loading modules that need to be done from
- supervisor mode.
- 1.09
- • To run Master software, use *Alphabet Master and *Keyboard Master.
- 1.09
- • *TypeFile again. After the ideas given last month, I knew there
- should be an easier wayÉ Clifford Hoggarth has come up with:
- 1.09
- *Alias$TypeFile Echo ||B|M Type %0|M Echo ||C|M
- 1.09
- The point is that on first interpretation, || is turned into | so that
- it become Echo |B which gives the ASCII 2 (ctrl-B) to turn on the
- printer and Echo |C to do the reverse.
- 1.09
- • System Delta Plus — The section in the manual on printer control
- codes is not very clear. The following points may make it clearer: (1)
- Clicking on <menu> on the printer control icon brings up a sub-menu
- giving options for Bold, Compressed or Reset. (2) To select multiple
- escape sequences, click <select> on the printer control icon, select the
- Escape icon and enter the first code in the sequence, then press
- <return>, enter the second code and again press <return>. Repeat this if
- necessary and click on the OK icon when you have finished. E.g. to get
- NLQ on an Epson , you want ESC120,1. So use: <select> Escape icon, type
- 120, press <return>, type 1, press <return>, <select> OK icon.
- 1.09
- One limitation of the System Delta Plus package, as it stands, is that
- you can only create four numeric total fields when producing a “List”.
- The solution, according to Minerva Systems will be to purchase their
- “Reporter” software — when it becomes available!
- 1.09
- • Taxan Kaga printer (or the Canon equiv-alent) — there is a fairly
- simple way of being able to switch the auto-line feed on and off, to
- avoid problems with software that may or may not require the printer to
- auto-line feed.
- 1.09
- All you do is to place a switch between two pins of the printer
- connector. The pins to connect are pin 14 (auto-line feed) and any GND
- line. When they are connected an auto-line is not performed.
- 1.09
- • Ambiguous *-commands. If you have two modules loaded into the
- Archimedes that use the same *-command name, you can call the command
- required by: *<module name>: <command> <....> So, for example, if you
- had two modules, ÔUtilityÕ and ÔToolkitÕ both of which have a CATALL
- command, you can use either *Utility:CATALL or *Toolkit:CATALL to
- differentiate between them.
- 1.09
-
- 1.09
-